package me.xuym.crawler.simpleextension.dispatcher;

import com.cbs.java.component.application.Application;
import me.xuym.crawler.Processor;

import java.io.IOException;

/**
 * Created by broche on 05/08/2017.
 */
public class SimpleDebugDispatcher extends Processor<SimpleDebugDispatcherInput, SimpleDebugDispatcherInput> {
    public SimpleDebugDispatcher(Application application) throws IOException {
        super(application);
    }

    @Override
    public SimpleDebugDispatcherInput onProcess(SimpleDebugDispatcherInput simpleDebugDispatcherInput) throws Exception {
        System.out.println(simpleDebugDispatcherInput.simpleDebugDispatcherContent());
        return simpleDebugDispatcherInput;
    }
}
